package xyz.jangle.thread.storage;


public class SetTask implements Runnable {
	
	private Storage storage;
	
	

	public SetTask(Storage storage) {
		super();
		this.storage = storage;
	}


	@Override
	public void run() {
		for (int i = 0; i < 100; i++) {
			storage.set();
//			try {
//				TimeUnit.SECONDS.sleep(1);
//			} catch (InterruptedException e) {
//				e.printStackTrace();
//			}
		}
	}

}
